/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.kj.entity.KjServiceType;
import com.jeesite.modules.kj.dao.KjServiceTypeDao;

/**
 * service_typeService
 * @author hzy
 * @version 2021-07-30
 */
@Service
@Transactional(readOnly=true)
public class KjServiceTypeService extends CrudService<KjServiceTypeDao, KjServiceType> {
	
	/**
	 * 获取单条数据
	 * @param kjServiceType
	 * @return
	 */
	@Override
	public KjServiceType get(KjServiceType kjServiceType) {
		return super.get(kjServiceType);
	}
	
	/**
	 * 查询分页数据
	 * @param kjServiceType 查询条件
	 * @param kjServiceType.page 分页对象
	 * @return
	 */
	@Override
	public Page<KjServiceType> findPage(KjServiceType kjServiceType) {
		return super.findPage(kjServiceType);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param kjServiceType
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(KjServiceType kjServiceType) {
		super.save(kjServiceType);
	}
	
	/**
	 * 更新状态
	 * @param kjServiceType
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(KjServiceType kjServiceType) {
		super.updateStatus(kjServiceType);
	}
	
	/**
	 * 删除数据
	 * @param kjServiceType
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(KjServiceType kjServiceType) {
		super.delete(kjServiceType);
	}
	
}